<table class="table table-bordered  table-hover ">
<thead class="flip-content bordered-palegreen">
<thead>
<tr>
	<th width="70">礼物ID</th>
    <th width="120">礼物名称</th>
    <th width="120">价格</th>
    <th width="120">图片</th>
    <th width="120">动画类型</th>
    <th width="120">动画图片</th>
    <th width="120">动画时长(秒)</th>
    <th width="100">操作</th>
</tr>
</thead>
<tbody>

{volist name="data.list" id="vo" }
<tr>
	<td>{$vo.id}</td>
    <td>{$vo.gift_name}</td>
    <td>{$vo.gift_price}</td>
    <td>
        <img src="{$vo.gift_img}" style="max-height: 100px;max-width: 100px;">
    </td>
    <td>{$swftypes[$vo['swftype']]}</td>
    <td>
        {neq name="vo.swftype" value="2"}
        <img src="{$vo.swf}" style="max-height: 100px;max-height: 100px;">
        {/neq}
    </td>
    <td>{$vo.swftime}</td>
    <td>
        <a title="编辑" class="m-xs" href="{:url('info',['id'=>$vo['id']])}"><i class="fa fa-edit text-muted"></i></a>
        <a href="{:url('del',array('id'=>$vo['id']))}" data-toggle="ajaxRemove" data-msg="确定删除 {$vo.gift_name}？" class="m-xs" title="删除">
            <i class="fa fa-trash text-muted"></i>
    </td>
</tr>

{/volist}
</tbody>
</table>
{empty name="data.list"}
<table width="100%" >
 	<tr><td height="300" colspan="8" align="center" valign="middle" >没有相关数据！</td></tr>
</table>
{/empty}